Welcome![Sign In][Sign Up]
Location:
Search - lex in c

Search list

[ELanguagec_compiler

Description: 本程序集是Allen I. Holub所写的《Compiler Design in C》一书的附随软件,其中有作者自己编写的词法分析和语法分析工具LeX,occs和LLama,该软件包还包括一个显示C语言分析过程的程序-This set of program is the attached software in 《Compiler Design in C》 writed by Allen I. Holub, it contains the Lex, occs and Llama which are phraseing analysis tools writed by Allen, it also contains a program which can display the analysis procedure of C
Platform: | Size: 1003520 | Author: 站长 | Hits:

[Other示范yacc&lex

Description: 这个是YACC和LEX结合使用来实现整数加法的简单事例,我体现的是基本的步骤,不在于其功能的完美和强大,给我一样的菜鸟以启示,以便您不必在开始的路上徘徊太久,希望您喜欢-the LEX and YACC is a combination of integers to achieve a simple example, I embody the basic steps, not its function in a perfect and strong, give me the same exposure to enlightenment, so that you need not start wandering on the road for too long, I hope you like
Platform: | Size: 14336 | Author: 江中月 | Hits:

[Embeded Linuxc环境下的编译器

Description: 在c环境下的编译器 一.实验完成主要功能描述: 1.if语句 2.if_else语句 3.while语句 4.数组 5.函数调用 6.对外部函数printf的调用(用于打印) 二.测试环境 1.fedora core 4(OS) 2.lex version 2.5.4 3.yacc 4.gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) -in the context of a compiler. Experiments main function Description : 1.if statement 2.if_else statement 3.while statements 4. 5 array. Function call 6. The external function calls printf (print) 2. A test environment . fedora core 4 (OS) 2.lex 3.yacc 4.gcc version 2.5.4 (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Platform: | Size: 6144 | Author: 韩天毅 | Hits:

[ELanguageansi.c.grammar

Description: C语言的lex\Yacc文法实现,在linux\Unix的shell中直接可以生成所有的文件。Unix下可以直接使用lex和Yacc生成可执行程序。-C language lex \ Yacc grammar realized, In linux \ Unix shell can be directly generated all the documents. Unix can be used directly lex and Yacc generating executable programs.
Platform: | Size: 7168 | Author: 123456 | Hits:

[ELanguageansic_lex_yacc

Description: ANSI C的标准词法描述和文法描述,使用lex和yacc即可编译出可用的C语言源代码,通过这两个描述文档,即可实现最简单的C语法解析器。-ANSI C standard lexical grammar description and a description of the use of lex and yacc to compile the available C-language source code, through the description of these two documents, you can realize the most simple C grammar parser.
Platform: | Size: 5120 | Author: andy | Hits:

[ELanguageLex

Description: 小型的Lex编译器,能从input.txt识别简单的C++语句,并将分析结果存于output.txt中-Lex small compiler, from input.txt identify simple C++ Statements, and the results of the analysis stored in output.txt in
Platform: | Size: 280576 | Author: yuleyi | Hits:

[ELanguagelex

Description: 包含两个简单的词法分析器代码,一个是用c写的,另一个是用java写的。有一个说明文档。-Contains two simple lexical analyzer code, one is written with c, and the other is written in java. Document has a note.
Platform: | Size: 10240 | Author: 杨敏 | Hits:

[ELanguagec

Description: c编译器的lex,yacc文件,很简单,几分钟就能看懂。-c compiler lex, yacc files, very simple, a few will be able to understand.
Platform: | Size: 4096 | Author: 个人隐私 | Hits:

[Otherclient_server_performance-verygood

Description: flex 是一个生成扫描器的工具,能够识别文本中的词法模式。flex 读入给定的输入文件,如果没有给定文件名的话,则从标准输入读取,从而获得一个关于需要生成的扫描器的描述。此描述叫做 规则,由正则表达式和 C 代码对组成。flex 的输出是一个 C 代码文件——lex.yy.c——其中定义了 yylex() 函数。编译输出文件并且和 -lfl 库链接生成一个可执行文件。当运行可执行文件的时候,它分析输入文件,为每一个正则表达式寻找匹配。当发现一个匹配时,它执行与此正则表达式相关的 C 代码-flex generated scanner is a tool that can identify lexical patterns in text. flex time into the given input file, in the absence of a given file name, then read from standard input, and thus on the need to generate a description of the scanner. This description is called the rules, by the regular expression and the composition of C code. the output of flex is a C code file- lex. yy.c-- which defines the yylex () function. Output file and compile and link-lfl library to generate an executable file. When running an executable file, it analyzes the input file, for each regular expression match to find. When they find a match, it is the implementation of regular expressions with the related C code
Platform: | Size: 707584 | Author: myname | Hits:

[Other resourceLex

Description: 1.输入文件解析 2.正则表达式转化为NFA 3.多个NFA合并 4.NFA转换DFA 5代码生成 关于输入文件格式: 没有考虑对lex输入文件的出错处理,所以输入文件务必严格书写正确。 Lex中的正规表达式使用了以下运算符: [] | * @ ( ) 并且正规表达式中不能出现其他的子正规表达式。 如果想要在待识别的正则式中使用上述运算符,请使用转义符号,即\。 例如,如果想用*,可以写成\* -1. Analysis of the input file 2. Regular expressions into NFA 3. More than the combined NFA conversion 4.NFA Code Generation DFA 5 on input file format: There is no consideration of the lex input file error handling, the input file must be written in strict correct. Lex in the regular expression operators used the following: [] |* @ () and regular expressions can not be a subset of other regular expressions. If you want to be identified in the regular-type operator to use the above, please use the escape symbol, that is, \. For example, if you want to use*, can be written in \*
Platform: | Size: 17408 | Author: 顾添锦 | Hits:

[Windows Developlex

Description: 编译原理试验使用c语言写的 不过写的很简单希望对初学者能够有些帮助-The principle of experimenting with the use of the compiler written in c language written in very simple but would like to have some help for beginners
Platform: | Size: 1024 | Author: sd | Hits:

[ELanguagelex

Description: 用c++实现的此法分析器,包括正则表达式解析,正则到NFA转换,NFA到DFA转换,和最终的匹配,详见包中README文件-Using c++ parser to achieve this method, including regular expression analysis, while the NFA is converted, NFA to DFA conversion, and end the match, see the package README file
Platform: | Size: 16384 | Author: 0x7c00 | Hits:

[ELanguagelex-yacc

Description: 用c++语言和lex-yacc工具实现的文法工具,基本功能相当于一个c语言文法,在平台性编程和可配置编程中作用很大,增加程序的灵活性。-Using c++ language and tools in the lex-yacc grammar tools, basic function is equivalent to a c language grammar, the platform of programming and programming can be configured to play a great role, increasing program flexibility.
Platform: | Size: 140288 | Author: malibin | Hits:

[ELanguageSimple_Language_Lexer

Description: 这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式才行之。总体这样子。-This is one written by using the LEX lexical analyzer Simple language. Simple definition of the language description see annex. The LEX source code can be transformed into Parser Generator 2 to h file with the cpp file. As the compilation of these two files need to use the Parser Generator 2 in C++ library, so we just uploaded the source code for LEX, who may be of interest to themselves through Parser Generator 2 to transform. As for the UNIX tools LEX below if you want converted, then need to modify its main program, another will need to LEX source code into the C++ language, forms of expression changes as the corresponding C-language expressions of Caixing. Overall like this.
Platform: | Size: 182272 | Author: 林宇浩 | Hits:

[ELanguageC-MinusBasedLEX

Description: 大学经典教材《编译原理》中的基于Lex的C-词法分析器-University of the classic textbook, " Compiler Principle" in the C-based lexical analyzer Lex
Platform: | Size: 11264 | Author: Window | Hits:

[Linux-Unixyacc-1.9.1

Description: yacc(Yet Another Compil er),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。yacc生成的编译器主要是用C語言寫成的语法解析器(Parser),需要与词法解析器Lex一起使用,再把兩部份產生出來的C程序一併編譯。yacc本來只在Unix系統上才有,但現時已普遍移植往Windows及其他平台。-yacc (Yet Another Compiler Compiler), is a Unix/Linux on a compiler to generate compiler (compiler code generator.) yacc compiler-generated key is written in C language parser (Parser), need to be used together with the Lex lexical parser, and then created out of the two parts together compile C programs. yacc on Unix systems already have the only but is now widely transplanted to Windows and other platforms.
Platform: | Size: 69632 | Author: 王子 | Hits:

[Windows Developlex

Description: lexical analyzer in c language
Platform: | Size: 2048 | Author: manjit2990 | Hits:

[Windows Developlex.yy

Description: A lex program implementation in c
Platform: | Size: 12288 | Author: Ramana | Hits:

[Windows Developexample

Description: 基于flex&bison(yacc)的四则运算器的例子,附带mylex.l与myyacc.y,文件输入在exprTest.txt中进行-Based on the flex&bison (yacc) four examples of logic, and with mylex. L and myyacc. Y, file input in exprTest. TXT
Platform: | Size: 215040 | Author: Alex | Hits:

[ELanguageback

Description: Project about written an interpter in C using gcc compiler and lex and yacc
Platform: | Size: 16384 | Author: Abdenour | Hits:
« 12 3 »

CodeBus www.codebus.net